# -*- coding: utf-8 -*-
"""
Spyder Editor

This is a temporary script file.
"""

a = (int)(input('请输入四位数字: '))
if a%400 == 0 or (a%4 ==0 and a%100!=0):
    print("是闰年")
else:
    print("不是闰年")